package org.hp.service.login;

import org.hp.bean.Admin;
import org.hp.dao.login.LoginDao;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.Map;

@Service
public class LoginServiceImpl implements LoginService {
    @Resource
    LoginDao loginDao;

    @Override
    public Map login(Admin admin) {
        return loginDao.login(admin);
    }
}